package com.lancoo.cvas.mapper;

import com.lancoo.cvas.config.MybatisRedisCache;
import com.lancoo.cvas.entity.RuleRoomProhibit;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.lancoo.cvas.pojo.dto.ArrangeRoomRuleDto;
import org.apache.ibatis.annotations.CacheNamespace;

import java.util.List;

/**
 * 教室禁排
 * 
 * @author liufeng
 * @email 1037383243@qq.com
 * @date 2023-12-04 11:54:00
 */
@CacheNamespace(implementation = MybatisRedisCache.class, eviction = MybatisRedisCache.class)
public interface RuleRoomProhibitMapper extends BaseMapper<RuleRoomProhibit> {

    List<String> fixCheck(Integer taskId, Long roomId, String schoolId, int deleted);

    List<ArrangeRoomRuleDto> getArrangeRoomRuleByTaskId(Integer taskId, String schoolId, String term, String campusId,Integer deleted);

}
